home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / gfx / 3d / rayshade40_enh2.lha / Examples / solids.ray < prev    next >
Text File  |  1992-11-07  |  1KB  |  49 lines

  1. /* Converted using rsconvert */
  2. /*
  3.  * solids.ray
  4.  *
  5.  * Example rayshade input file.
  6.  *
  7.  * Render using:
  8.  *    rayshade solids.ray > solids.rle
  9.  * Craig Kolb 9/89
  10.  */
  11. eyep 0 25 7 
  12. screen 400 400
  13. /*light 1.4 extended  1.5  -15 20 15*/
  14. light 1.4 point   -15 20 15
  15. surface red 
  16.     ambient 0.02 0 0 
  17.     diffuse 0.5 0 0 
  18.     specular 0.5 0.5 0.5
  19.     specpow 32 
  20.     reflect 1.
  21. surface blacktile 
  22.     ambient 0.01 0.015 0.01 
  23.     diffuse 0.02 0.03 0.02 
  24.     specular 0.15 0.15 0.15
  25.     specpow 30 
  26. surface white 
  27.     ambient 0.06 0.06 0.04 
  28.     diffuse 0.5 0.5 0.25 
  29.     specular 0.2 0.2 0.2 
  30.     specpow 18 
  31.     reflect 1.
  32. surface glass 
  33.     ambient 0.02 0.02 0.02 
  34.     specular 0.16 0.16 0.16
  35.     specpow 25 
  36.     reflect 1.
  37.     transp 0.3 body 1. 1. 1. index 1.15 
  38.  
  39. sphere red 4 3 0 0 
  40. /*
  41.  * Cone actually sticks through ground plane.  This solves problems
  42.  * that arise when the bottom of the cone and the plane are coincident.
  43.  */
  44. cone glass 4 -5 3 -4.1 0 -5 3 4 
  45.  
  46. plane white 0 0 -4 0 0 1 
  47.         texture marble scale 4 4 4 
  48.         texture checker blacktile translate 0 0 0.3 scale 4 4 4 
  49.